import request from '@/utils/request'

// 查询当期结果列表
export function listContainResult(query) {
  return request({
    url: '/containResult/containResult/list',
    method: 'get',
    params: query
  })
}

// 查询当期结果详细
export function getContainResult(id) {
  return request({
    url: '/containResult/containResult/' + id,
    method: 'get'
  })
}

// 新增当期结果
export function addContainResult(data) {
  return request({
    url: '/containResult/containResult',
    method: 'post',
    data: data
  })
}

// 修改当期结果
export function updateContainResult(data) {
  return request({
    url: '/containResult/containResult',
    method: 'put',
    data: data
  })
}

// 删除当期结果
export function delContainResult(id) {
  return request({
    url: '/containResult/containResult/' + id,
    method: 'delete'
  })
}
